<style scoped>
  li{
    padding-bottom: 5px
  }
</style>

<template>
    <Card>
        <p slot="title">
            <Icon type="android-star"></Icon>
            相关链接
        </p>
        <ul>
            <li v-for="(link,n) in links" :key="n">
                <a :href="link.href" target="_blank">{{link.name}}</a>
            </li>
        </ul>
    </Card>
</template>

<script>
export default {
  props:{
      links: {
          type: Array,
          default: {}
      }
  }
}
</script>
